extends ../layout

block content
	nav.navbar.navbar-inverse
		.container-fluid
			.nav-header
				button(type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false")
					span.sr-only Toggle navigation
					span.icon-bar
					span.icon-bar
					span.icon-bar
				a(class='navbar-brand' href='/all') 晴&阴
			div(class="collapse navbar-collapse" id="bs-example-navbar-collapse-1")
				ul.nav.navbar-nav
					li.active
						a(href='/') 重溯爱恨纠结
							span.sr-only (current)
					li
						a(href='/add') 书诗遗千古
	.showlove-container
		each one in love
			.showlove-all
				.showlove-title #{one.title}
				.showlove-poet #{one.poet}
				hr
				.showlove-simple #{one.simple}
				hr
				.showlove-content #{one.content}
				hr
				form(action='/showlove/#{one.title}',method='post')
					button(type='sumbit',class='btn btn-lg btn-danger') 删  除
				a(href='/update/#{one.title}',class='btn btn-lg btn-danger',style='margin-top:20px;') 修  改